##!/usr/bin/python2
## -*- coding: utf-8 -*-
<%page args="shot, page" />
<%
from pygolem_lite.web import make_config, get_page_paths, make_image
from pygolem_lite import Shot
page_path, base_path, page = get_page_paths(shot, page)
%>
<a href="main.py">[Source - main.py]</a><br/>
<a href="CalcIonProjections.py">[Source - CalcIonProjections.py]</a><br/>
<a href="CalcDensTemp.py">[Source - CalcDensTemp.py]</a><br/>
% if Shot(shot)['plasma']:
${make_image("graphs/temperature.png" , "Electron temperature")}
${make_image("graphs/TotalPower.png" , "Total radiated power in UV,VIS,NIR range")}
${make_image("graphs/density.png" , "Impurities relative concentration")}
##${Shot(shot).get_pygolem_list(['spectrometr:temperature', 'spectrometr:impurities_concentration','spectrometr:total_radiated_power'])}
${Shot(shot).get_pygolem_list(['spectrometr:data','spectrometr:impurities_concentration','spectrometr:total_radiated_power',
'spectrometr:resid_spectra','spectrometr:temperature','spectrometr:projections','spectrometr:projections_basis','spectrometr:energy_coefficients',
'spectrometr:mean_temperature', 'spectrometr:mean_radiation_power', 'IDA:IDA_ions_projections' ])}
%else:
<h2>No plasma</h2>
%endif